Fix memory allocation for IA64 guest on Xen-unstable.hg with new Qemu.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 25 Jul 2006 14:12:47 +0000 (15:12 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 25 Jul 2006 14:12:47 +0000 (15:12 +0100)
After balloon drive ready, we can remove this line safely.

Signed-off-by:Zhang Xiantao <xiantao.zhang@intel.com>

tools/python/xen/xend/XendDomainInfo.py

index 48d6b67d5e9e856e0b169adc70349b6e22552414..0d97fe38ac8d7551d975cce004da92d031e2a1f4 100644 (file)
@@ -1288,6 +1288,9 @@ class XendDomainInfo:
                 # Workaround for architectures that don't yet support
                 # ballooning.
                 init_reservation = m
+                # Following line from xiantao.zhang@intel.com
+                # Needed for IA64 until supports ballooning -- okay for PPC64?
+                xc.domain_setmaxmem(self.domid, m)
 
             xc.domain_memory_increase_reservation(self.domid, init_reservation,
                                                   0, 0)